<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--
    水平对齐 参照物 a b
      -->
    <style>
    img,span{
        vertical-align: middle;
    }
    </style>
</head>
<body>
<p>
    <img src="images/hexie.png" alt="和谐战争" width="300" height="200">
    <span>和谐战争！</span>
</p>
</body>
</html>